<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Ghasam.Business" namespace="Ghasam.Business.Domain.Entity">
    <class name="EmployeePayment" table="EmployeePayment" >
    <id name="Id" type="System.Int32" column="ID">
        <generator class="identity"/>
    </id>
    <many-to-one name="Employee" column="EmployeeId" class="Employee" update="0"  insert="0" />
    <property name="BasicSalary" column="BasicSalary" type="Single" not-null="false" />
    <property name="InformalSalary" column="InformalSalary" type="Single" not-null="false" />
    <property name="TaxPrice" column="TaxPrice" type="Single" not-null="false" />
    <property name="HomeExtra" column="HomeExtra" type="Single" not-null="false" />
    <property name="ChildrenExtra" column="ChildrenExtra" type="Single" not-null="false" />
    <property name="GoodsExtra" column="GoodsExtra" type="Single" not-null="false" />
    <property name="OffHoursWithoutSalary" column="OffHoursWithoutSalary" type="Single" not-null="false" />
    <property name="OffHoursPrice" column="OffHoursPrice" type="Single" not-null="false" />
    <property name="OverTimeHours" column="OverTimeHours" type="Single" not-null="false" />
    <property name="OverTimeHoursPrice" column="OverTimeHoursPrice" type="Single" not-null="false" />
    <property name="CreateDate" column="CreateDate" type="System.DateTime" not-null="false" />
    <property name="ModifyStamp" column="ModifyStamp" type="System.DateTime" not-null="false" />
    <property name="PaymentDate" column="PaymentDate" type="System.DateTime" not-null="false" />
 </class>
</hibernate-mapping>
